function install(req, request, login) {
	const apiUrl = {
		getImgCode: '/www/app/getImgCode.do', //获取图形验证码
	};
	req.common = {
		/* 获取图形验证码*/
		getImgCode(image_id) {
			return req.baseUrl + apiUrl.getImgCode + "?image_id="+image_id  + "&type=1";
		}
	};
}

module.exports = {
	install,
};
